package ingsw2.structure;

public class Person implements OrganizationalUnit {

	private String firstName;
	private String lastName;
	private String role;
	
	/**
	 * @param firstName
	 * @param lastName
	 * @param role
	 */
	public Person(String nome, String cognome, String ruolo) {
		this.firstName = nome;
		this.lastName = cognome;
		this.role = ruolo;
	}

	@Override
	public void print() {
		System.out.println("[" + role + "] " + firstName + " " + lastName);
	}

}
